package com.leonse.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * seata-order 订单系统
 *
 * @author leonse
 * @date 2021/1/13 17:36
 **/
@SpringCloudApplication
@EnableFeignClients
@MapperScan(basePackages = "com.leonse.order.mapper")
public class OrderApplication {

    public static void main(String[] args) {
        // SpringBoot 项目启动，完成的事一个Spring容器的初始化过程
        SpringApplication.run(OrderApplication.class, args);
    }

}

